import pandas as pd

from cloudVirtrualizedNetworkApplicationReliability.src.networkEvolutionObjectModel import *
from cloudVirtrualizedNetworkApplicationReliability.src.networkEvolutionRulesAnalysis import *

if __name__ == '__main__':
    file = "case_128server_2link_backup.xlsx"
    network = CloudVirtualizedNetwork(file, control_plane_type=ControlPlaneType.NONE)
    evolution_condition = pd.read_csv("evol_condition.csv")
    evolution_condition = evolution_condition.applymap(eval)
    network_T = network_evolution_rules_analysis_for_evolution_condition(network,
                                                                         evolution_condition_input=evolution_condition)
